//
//  SDCheckButton.h
//  Sudoku
//
//  Created by 兰伟欣 on 16/6/13.
//  Copyright © 2016年 wxlan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SDCheckButtonDeletage <NSObject>

- (void)checkButtonDidBeginClick:(UIButton *)button;
- (void)checkButtonDidEndClick:(UIButton *)button;

@end

@interface SDCheckButton : UIButton

@property (nonatomic, assign) BOOL isOrigin; // 是否是初始显示数字,如果是,则不允许修改数字
@property (nonatomic, assign) BOOL isError; // 是否是冲突错误
@property (nonatomic, assign) BOOL isFill; // 是否填充数字
@property (nonatomic, assign) BOOL isShowMakr;// 是否显示备选数字
@property (nonatomic, assign) NSInteger clickCount;// 点击次数
@property (nonatomic, assign) id<SDCheckButtonDeletage> delegate;


- (instancetype)initWithWidth:(CGFloat)width;

@end
